<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>应用管理员登录</title>
	</head>

	<body>
		<form action="/common">
			用户名:<input type="text" name="username">
			密码:<input type="password" name="password">
			<input type="hidden" name="method" value="login">
			<input type="submit" value="  登  入   ">
			<a href="/">go home</a>
		</form>
		<c:if test="${param.errorcode==1}">
			<div style="padding:10px;color:red;font-size:14px;font-weight:bold;">
			密码错了
			</div>
		</c:if>
	</body>
</html>
